package com.auxgroup.hr.front.dao.domain;

import java.io.Serializable;
import java.math.BigDecimal;

/** 
 * @author lvliuhao 
 * @version 创建时间：2018年5月22日 下午9:48:03 
 * 入职人员相关表主键类
 */
public class PsCHirePrimaryClass implements Serializable {
	
	private static final long serialVersionUID = -4804203926539988196L;

	private BigDecimal cSeqno;
	
	private String rsHireId;

	public PsCHirePrimaryClass(){
		
	}
	
	public PsCHirePrimaryClass(BigDecimal cSeqno,String rsHireId){
		this.cSeqno = cSeqno;
		this.rsHireId = rsHireId;
	}

	/**
	 * @return the cSeqno
	 */
	public BigDecimal getcSeqno() {
		return cSeqno;
	}

	/**
	 * @param cSeqno the cSeqno to set
	 */
	public void setcSeqno(BigDecimal cSeqno) {
		this.cSeqno = cSeqno;
	}

	/**
	 * @return the rsHireId
	 */
	public String getRsHireId() {
		return rsHireId;
	}

	/**
	 * @param rsHireId the rsHireId to set
	 */
	public void setRsHireId(String rsHireId) {
		this.rsHireId = rsHireId;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#hashCode()
	 */
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((cSeqno == null) ? 0 : cSeqno.hashCode());
		result = prime * result
				+ ((rsHireId == null) ? 0 : rsHireId.hashCode());
		return result;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#equals(java.lang.Object)
	 */
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PsCHirePrimaryClass other = (PsCHirePrimaryClass) obj;
		if (cSeqno == null) {
			if (other.cSeqno != null)
				return false;
		} else if (!cSeqno.equals(other.cSeqno))
			return false;
		if (rsHireId == null) {
			if (other.rsHireId != null)
				return false;
		} else if (!rsHireId.equals(other.rsHireId))
			return false;
		return true;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PsCHirePrimaryClass [cSeqno=" + cSeqno + ", rsHireId="
				+ rsHireId + "]";
	}
}
 